home *** CD-ROM | disk | FTP | other *** search
/ Technotools / Technotools (Chestnut CD-ROM)(1993).ISO / lang_c / ucturbo2 / testgrpr.c < prev    next >
Text File  |  1987-05-23  |  2KB  |  62 lines

  1. main()
  2. {
  3.   printf("The following program acesses the IBM Graphics printer");
  4.  
  5.   lprintf("\nThis is a test program to check the IBM Graphics printer\n");
  6.   lprintf("and the Unicorn1 Library\n\n\n");
  7.  
  8.   prtwidon();
  9.   lprintf("This is the wide print\n");
  10.   lprintf("A simple carriage return has turned it off\n");
  11.   prtwidof();
  12.   prtdubon();
  13.   lprintf("This is double strike printing\n");
  14.   lprintf("A carriage return did NOT turn it off\n");
  15.   prtdubof();
  16.   prtempon();
  17.   lprintf("This is emphasized print\n");
  18.   prtdubon();
  19.   lprintf("This is both emphasized and double strike\n");
  20.   prtdubof();
  21.   prtempof();
  22.   lprintf("Following this line the printer buzzer should sound\n");
  23.   prtbuzz();
  24.   prtcomon();
  25.   lprintf("This is compressed print\n");
  26.   lprintf("A carriage return does NOT turn it off\n");
  27.   prtcomof();
  28.   lprintf("There should be a backspace character");
  29.   prtbs();
  30.   lprintf("right after the word character\n");
  31.   lprintf("There should be a tab");
  32.   prttab();
  33.   lprintf("right after the word tab\n");
  34.   lprintf("The line feed character here");
  35.   prtlf();
  36.   lprintf("moves the line up one and moves the carriage back\n");
  37.   lprintf("\n\nThis ");
  38.   prtwidon();
  39.   prtdubon();
  40.   prtempon();
  41.   lprintf("is a");
  42.   prtwidof();
  43.   prtdubof();
  44.   prtempof();
  45.   lprintf("simple test line ");
  46.   prtcomon();
  47.   lprintf("With different type styles\n");
  48.   prtcomof();
  49.   lprintf("Next is a Form Feed character to eject the page\n");
  50.   prtff();
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.   printf("\nAll done now!");
  59.  
  60. }
  61.  
  62.